package com.lagou.service;

import com.github.pagehelper.PageInfo;
import com.lagou.domain.Menu;

import java.util.List;

public interface MenuService {
    public abstract PageInfo<Menu> findAllMenu(int currentPage, int pageSize);
    public abstract Menu findMenuById(int id);
    public abstract List<Menu> findSubMenuListByPid(int pid);
    public abstract void saveMenu(Menu menu);
    public abstract void updateMenu(Menu menu);
}
